package com.ruoyi.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class ChatRequest {

    @NotBlank(message = "提问内容不能为空")
    @ApiModelProperty(value = "用户输入的提问内容", required = true, example = "Java的三大特性是什么？")
    private String prompt;

    @ApiModelProperty(value = "会话ID（用于多轮对话）", example = "sess_123456")
    private String sessionId;
}
